import request from '@/utils/request'

// 查询盈利预测明细列表
export function listDealIndicatorPredictDetail(query) {
  return request({
    url: '/detail/dealIndicatorPredictDetail/list',
    method: 'get',
    params: query
  })
}

// 查询盈利预测明细详细
export function getDealIndicatorPredictDetail(id) {
  return request({
    url: '/detail/dealIndicatorPredictDetail/' + id,
    method: 'get'
  })
}

// 保存盈利预测明细
export function saveDealIndicatorPredictDetail(data) {
  return request({
    url: '/detail/dealIndicatorPredictDetail/save',
    method: 'post',
    data: data
  })
}

// 删除盈利预测明细
export function delDealIndicatorPredictDetail(id) {
  return request({
    url: '/detail/dealIndicatorPredictDetail/' + id,
    method: 'delete'
  })
}

// 导出盈利预测明细
export function exportDealIndicatorPredictDetail(query) {
  return request({
    url: '/detail/dealIndicatorPredictDetail/export',
    method: 'get',
    params: query
  })
}
